package com.navinfo.opentsp.qingqi.trackoptimize;

import com.navinfo.opentsp.qingqi.trackoptimize.configuration.SecurityApplicationConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


/**
 * Created by chenjc on 2015/12/31.
 */
@Configuration
@ComponentScan(basePackages = "com.navinfo.opentsp.qingqi,com.navinfo.opentsp.qingqi.trackoptimize")
@EnableAutoConfiguration
@EnableEurekaClient
//@EnableFeignClients
@EnableHystrix
@Import({SecurityApplicationConfiguration.class})
//@EnableTaskTracker
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}


